<?php

namespace App\Common\Provider\Uploader;

use App\Common\Util\TP;

/**
 * Class UploadFile
 */
class UploadResult
{
    public string $filename;

    public string $fileFullPath;

    public function __construct(public string $filepath, public string $originFilename)
    {
        $this->filename = dirname($this->filepath);

        $this->fileFullPath = TP::route()->asset($this->filepath);
    }
}